<?php 

	include_once("DbInterface.class.php");

	class InscricaoDAO extends DbInterface {
		
		function __construct($host, $user, $password, $database){
			parent::__construct($host, $user, $password, $database);
		}
		
		function insert($id, $active, $confirm, $name, $country, $state, $city, $birthday, $address, $postalcode, $phone, $rg, $cpf, $passport, $instrumento, $classificacao_vocal, $escola, $professor, $historico, $nocoes, $ip, $cod, $data){
			$query = 
				"INSERT INTO
					`inscricao` (
						`id`, 
						`active`, 
						`confirm`, 
						`name`, 
						`country`, 
						`state`, 
						`city`, 
						`birthday`, 
						`address`, 
						`postalcode`, 
						`phone`, 
						`rg`, 
						`cpf`, 
						`passport`, 
						`instrumento`, 
						`classificacao_vocal`, 
						`escola`, 
						`professor`, 
						`historico`, 
						`nocoes`, 
						`ip`, 
						`cod`, 
						`data`
					) VALUES (
						NULL,
						'$active', 
						'$confirm', 
						'$name', 
						'$country', 
						'$state', 
						'$city', 
						'$birthday', 
						'$address', 
						'$postalcode', 
						'$phone', 
						'$rg', 
						'$cpf', 
						'$passport', 
						'$instrumento', 
						'$classificacao_vocal', 
						'$escola', 
						'$professor', 
						'$historico', 
						'$nocoes', 
						'$ip', 
						'$cod', 
						'$data'
					)
				";
				
			return parent::query($query, true);
		}
		
		function select(){
			
		}
		
		function update(){
			
		}
		
		function activate(){
			
		}
		
		function deactivate(){
			
		}
		
		function confirm(){
			
		}
		
	}
	
?>